die "you called me with a ".ref($class)." instance, you idiot!" if ref($class);