Changed the way the actions of the page are processed.