Rename term context to state