Add doctrine exetensions