Some template sorcery to make `forming reference to void` go away.