Changed interface and implementation of Variator class.