Fix xmax typos in API docs