Fix REST API service classes methods.

Change-Id: I97b618a6788e7b9381cc8dbdaa09253dbcebd395