remove `build_content_type` in api as well