Add compiler pass that auto register repositories in the container