Add API docs for tuning.