[WIP] Codegen errors

- [x] Remove duplication of interfaces
- [x] Fix fatal errors
To be more precise: abstract methods cannot be intercepted this way