Part 1: Resource Delegate generators

Can't really cut this one into sub-parts, sorry.
The parent's one return `MethodDefinition`. II changed the return type here