Clean up MapGenerator by lazy method definer