Added resource builder for components and templates (in favour of
extension methods)