Reduce cyclomatic complexity of LegacyDcaDataDefinitionBuilder::parseCallbacks().