Correctly use docs of shadowing functions instead of the shadowed ones.