Cleanup and removal of temporary values