Added function class.