Annotating service and registry with respective annotations.