Refactors a bunch of view methods into decorator methods