Make parameters directive more generic, use for headers too