Add server functionality.