This should be local to the `attempt` method.