Add redeclaration check.