Removed old delta stuff and added changes needed for new deltas.