Separate MetadataGenerator from Renderer.