Cleaned up code in the delta strategy.