Added API docs for lab8.