deprecate old page class