Documentation cleanup and fix for the event state module