Added relation object's classes and pages