No longer needed (done in the resource factory)