Remove duplicate code (screenplays-common).