RE: Properly writing typechecker plugins