Removing old code from ptb page class