Convert into a class.