use Doctrine meta data replacing temporary instantiations