Fix hijack type assertion and don't require error stream for hijack