actually define the function I added in the previous change for backwards API compat.