Metadata fixes for publishing.