Minor refactoring in dnssec module.