Added getter methods on the private properties.