Added statistics writer to service provider