Removes all temporary variables after run.