Reformating the IFunction class.