Accept single resources in namespace definition