Converted the page commands to use the new command architecture