Add docs input directive. Rename escape and enter behaviour. Missing api call.