Update README.
Add more helper methods for tracking state.