Add bunch of getter functions for term state.