mix: allow for non-NIF