This should probably be renamed to `DoctrineType` as `Doc` can have many different meanings.