[WIP] Codegen errors

- [x] Remove duplication of interfaces
- [x] Fix fatal errors
Same as above: abstract methods should still be intercepted