Change DummyResource to accept its name from the constructor