Added a `PolymorphicTypeField` to restrict content type to specific subclasses.