Fix shadowed function names

Clang rightfully noticed the usage of local function overloads shadowing the
name of a virtual function. This has been fixed.