Implementing PageTagger class