Moved behavior state-altering functions to new namespace behavior/state.