Added early @host assignment to fix nil class crash.