Modified ViewManager and add Page class.