Adjusting Doctrine syntax.