Added confirm method.