Fixed contribute_to_class