Changes due to js REST api changes