Simplified the annotations required for the rest service.