Return this, and allow addResource to update.