First version of the class.