Cleaned up template header