Fix API docs generation.