Imported from https://github.com/dice-group/LIdioms