renamed the declare handling to lint_declare for clarity and collisions.