Add self to class methods