Fixed warning message about mismatched function from base class