Added constructor method and property.