Made the set methods into a super class for other views to use