Created function class.