Remove createServer method from server instantiation in examle.