Lift label generation to toplevel to cover all cases