Made the wire_func_t constructor not accept a NULL env_t.