In defense of service contracts