[fix] Return required emits and write