Not sure why I thought this one-line global function was necessary.