Added supporting code for resource generator extensions.