Extended the capabilities of Helper.prepare_parameters