Utility functions for spun compilers.