Fix missing dev dependency
Set headers during the "header" event