Add support for setUserProperties