Updated Server class.