Fix broken build due to code in the wrong place.