Filling in getter and setter methods for some classes.