Fixed the setHeader function so that it actually works.
This was forcing the type to category on all new projects.