Details have emerged about the plot of Fox's new series Gotham, which is set in Gotham City years before Bruce Wayne became Batman. io9 has gotten their hands on a leaked copy of the pilot script, dated January 31, 2014 and labeled "Second Network Draft," which teases the possible inclusion of one new villain, while setting up the relationship that forms between young James Gordon (Ben McKenzie) and his new partner, the corruptable Harvey Bullock (Donal Logue). We've also learned details about villains Catwoman and Riddler.

The show, which was given a direct-to-series order last year, completely bypassing the pilot stage, largely focuses on Gordon and Bullock, who are investigating the murder of young Bruce Wayne's parents. The death first appears to be a common mugging until new, unspecified details emerge. Bruce Wayne, who has not been cast yet, is said to be between 10 and 12 years old in the show, which confirms a report from December.

Although Gordon has spent his entire life in Gotham, this version of the character is portrayed as excessively naive, to contrast the harsh realities of his dangerous city, although this naivete often comes at the expense of making Gordon, "look like a moron." He does begin to realize what Gotham really is by the end of the pilot, which is something the show will build on. Bullock is described as a "charming slacker," as opposed to the gruff, corrupt Bullock portrayed in the comics.

RELATED: Joaquin Phoenix's Joker Gets a Batman: The Animated Series Fan-Made Makeover

The script also goes to great lengths to let casual fans know that Gotham is, deep down, a Batman show, despite the lack of the actual Batman character himself. Writer Bruno Heller (Rome, The Mentalist) reportedly fills this pilot script with way too much exposition and explanation of who these characters are in the Batman universe. For instance, every time Oswald Cobblepot (Robin L. Taylor) appears, there is a character who says "He looks like a penguin," referring to the character's villainous alter-ego. The script also includes questionable word choices such as "mopes," "loonybirds," "skell huggers, "sugar bunnies," or "a cool glass of milk," which appear to indicate that Bruno Heller is trying to bring in aspects of 1930s gangster lingo into the show.

Aside from Oswald Cobblepot/The Penguin, we also know that villains such Riddler and Catwoman will be featured on the series. This new report reveals that Catwoman is only 14 years old and already taking to a life of crime, while the Riddler actually works as a coroner at the Gotham City Police Department, who tries to present information in his cases as riddles. There is also another villain who may be showing up, Poison Ivy. There is a scene where Gordon and Bullock enter a run-down apartment and come across a young girl named Ivy, who lives with dysfunctional parents and has a number of houseplants. Of course, Poison Ivy's real name in the comics is Pamela Isley, and it hasn't been confirmed if this young Ivy will actually become Poison Ivy.

This report goes onto details a scene where a comedian is telling jokes straight out of the 1940s in a club owned by gangster Fish Mooney (Jada Pinkett Smith), who is seen laughing hysterically and telling the comedian she likes him a lot. Also, Major Crimes detective Renee Montoya used to date James Gordon's fiancee, Barbara Kean (Erin Richards), and Bullock is seen calling Montoya a "dyke." Alfred (Sean Pertwee) apparently has a cockney accent on the show, using words such as "Oi" and "silly buggers."

Production is scheduled to start on the pilot next month, and it's possible that the script may be changed extensively between now and then, so stay tuned for more details about Gotham, which is expected to debut this fall on Fox.