Why didn't you just re-order the parameter list or always call it with a typeFlag set?