Getting rid of 'head' and 'origin'