Fix service declaration