ENH: Added GenerateAverageLmkFile interface.