First draft of CGI interface.