Added linear and cubic.