Fix function __doc__ overrides