Added class for other approach to creating accessors