renamed enabled to state and improved docs for it