refactor(src): change _this to self wherever possible

Closes #261