Added STM versions of state helpers. :octocat: