Preliminary cleanup.