Add docs for category and extra context for Input API