Creating custom content type using an object model