Updates to REST API.