Fix a bug with serverImpl being null.