Adds resource generator with template