Add doc. Renamed OptContext to context.