Optimise obtaining instance vars in Page class