Adding more docs to the state module

The exclude stuff wasn't documented (that i could find)