Completed the crud for service definitions.