Unroll some single-use functions.