Added some validation to content type entities.