Add content_type to resource model