Remove single partern of NameServer, now if you want to use NameServer, you have to new it and call initialize method.