Added inheritance on classes that must be pages.