Added accessor methods to class. Return object changed.