Cleanup code in this view