Part 1: Resource Delegate generators

Can't really cut this one into sub-parts, sorry.