Separated processing for getting page instance to specify decorator