Actually register the resource