as a playwright, i try to keep the roles open for more diverse gender representation. in the list of the cast of characters i like to leave a note that says that the director can feel free to cast outside of the binary. for instance, if the character is written masc with he/him pronouns, they're free to change that to whatever fits best for their casting choice. of course there are always going to be roles that are more "binary", but i like to do that! it makes things more interesting that way.