This whole part of Doctrine is weird :D.