Use doctrine compiler pass to load mapping