Add textvars to API docs