Updated headers method to remove unnecssary variable assignment. Closes #1