Tidying up the API docs