Added page graph debug and context classes