Support verifying private methods for any_instance