please use `allow_any_instance_of` syntax