CMS-3551 Non-serializable attribute when deleting content type.