Fixes and improvements in REST services.