Migrate to using Function::Parameters