Added vector classand FunctionClass.