Fix function document