Move proto definition to top level.