adjustment for overloaded page->data function
make view "functions" closures and Page documents (in comments)