Improve API doc format