Use the setProperties method