Fix class name of the service declaration