Remove unnecessary temporary construction.