Define service directory just once