Change how function expanding works.