Issue #3: Added syntax checking for headers.