Martin Freeman was cast as the titular character.