Fix function signature in docs.