Tried using null typeclasses. Performance improvement appears minor.