Add documentation for states