First version of class.