Solutions for the class.