Switched pagr to be a submodule.