Added Doctrine serialization