convert to Class::Tiny