Adding in new param for setProperties