Cleanup code for presentation.