Adds custom RDBMS functions to Doctrine2