I wasn't aware DoctrineBundle did that. Great idea: #186