Adds registerResource implementation