Now uses collection api to drive parameters.