Updated Resource class with changeDelta() method.