Utility fns for stch-library.