classmethod set_active should use cls instead of self