Add REST services code.