Add methods converting Doctrine classes to arries.
Pop up framework finished