Private fn, as above.