I agree, however this is an override function from  XWalkExtension. Better not change it here.