The function used by BashComplete, Before, After, Action and CommandNotFound have their won type. This makes easier to change/update the API