Inlined functions that didn't need to be functions.