Templatize profile. Can be the start of view separation from logic.