Improved lock for el::Configurations