The types for the parameters action and state have been missing in the DOCUMENTATION section of the module.