Fix wrong and add missing API docs.