Add developer option to test header completeness
Move #endif to cover functions that need trigger