Fix for removeDeclarations() (:: / . differences cache keys)