Changed public var to property.