Handling Service definitions