WIP for a doctrine compiler pass to handle mappings