Update to GraniResource_1.5. Fix principal bug.