Added setProperty() method