HTML output ignore declarations in main module