Forgot wildcard in API case statements

Will not pass complete API, although as of 1487a037be it would have at
least provided an error message.