various foos and bars
extend now expects an object of functions
merge extend