Fix API doc formatting