I feel like this should go in uicommons.