Fix propagation of parameters to schema