Not long after marrying screenwriter Albert Hackett, the couple went to Hollywood in the late 1920s to write the screenplay for their stage success Up Pops the Devil for Paramount Pictures. In 1933 they signed a contract with MGM and remained with them until 1939. Among their earliest assignments was writing the screenplay for The Thin Man (1934). They were encouraged by the directorW. S. Van Dyke to use the writing of Dashiell Hammett as a basis only, and to concentrate on providing witty exchanges for the principal characters, Nick and Nora Charles (played by William Powell and Myrna Loy). The resulting film was one of the major hits of the year, and the script, considered to show a modern relationship in a realistic manner for the first time, was considered to be groundbreaking. However this is only because it was written and released before the enactment of the Hollywood Production Code, which strictly censored movies from mid-1934 until the early 1960s (see Pre-Code). The other Nick and Nora films show a steep decline regarding the "groundbreaking maturity" of the Charles' marriage.