Lock file improvements.