Added closure output to head helper

Removed unnecessary head definitions, by fixing header