I can't think of a clean way to set a variable from the class name, some tips?