Remove references to old resources