Make ignore_definitions a dict