Fix type in API docs.