shift unless ref($_[0]); # shift if first arg is package name