Moved the common head definition into one file