Avoid a memcpy in monitor_t