API docs update, some fixes