Mediate upon creating functions