Fix overloaded method return type.