Basic server functionality.