CR changes: added types for variables in the pageObserver() method
fixed tests
removed comments from TOC for now