alias references to 'this' and clean up error messages