Changing readResource calls.