Added state documentation comments