Adding more docs to the state module

Couldn't find any docs on the exclude feature, so i made some :)