CGI seems to function properly. Closes #188.