Fix placement of setVariable() header