remove an unused class (Page), deal with several compiler warnings