Fixing incompatible method override