Should error if two resources have the same name.