Fix Object::has_extension('xx', 'xx') deprecated