Change wot APIs to 2.0