Get rid of issue in doctrine.
http://www.doctrine-project.org/jira/browse/DDC-3365