Migrate ElanUtils to use NamedLocks