API doc improvements