Instrument most functions.