Adding support for multiple resources