Improving the REST layer in the project.