Allow setting of a resource
Add default resource