Add support for resource names