add setIntProperty and setStringProperty methods