Put several actions on pages instead of making them global.