Added mode to differentiate set/state type features.
Merge pull request #377 from ambiata/topic/mode

Added mode to differentiate set/state type features.