Fix an unused binding warning in declaration gen.