Did you have to use this style of passing in $class manually? It seems a bit of a strange style, but I guess it's because the parent of this module is not in the line of descent from LJ::Event?