Convert View fns into a Prototype object literal, only create a new instance when prototype is defined