Fixed the annotation for the component service

Ready to add validation to the functions.