Seems like $types_configs should be re-factored out to params.pp