I think hints are specific to the ORM. So having them in the generic DoctrineType looks weird to me