 It was estimated that Williams improvised 52 characters.Eric Goldberg, the supervising animator for the Genie, then reviewed Williams' recorded dialogue and selected the best gags and lines that his crew would create character animation to match.The producers added many in-jokes and references to Disney's previous works in the film, such as a "cameo appearance" from directors Clements and Musker and drawing some characters based on Disney workers.