Properly resolving implicit keys in resource dictionary.