Fixed: synchronized keys method