Refactor strong attributes for pages