Parameterized the class.