Improved API docs generation.