Fix resource name type (closes #38)