Create methods to access member variables.