Modified service.c and service.h to look like original one.