Removed all uses of any_instance_of