Proper cleanup.