Fix many of the functional examples