Added methods to Server class