Hmm, i should be using the Doctrine\Common stuff here...