1. Fixed mismatch in VALUES and classmap.
2. Maxdepth is now set in page load handler.