Rename setStateProperties and setStateProperty to assign and set, respectively. Inspired by Object.assign, _.assign, and _.set.