adding page classes and fixing the failure by excluding dependency