mem: Minor refactor of how the abstract mem backdoor is exposed.