Added the functions getDoctrine() and getParameter()