Functional cleanup.