Model now takes dict for parameters.