more sane way of handling weird classes
bah