WIP: Resolve "simple optimizations"

Francis Dupont requested to merge useless-get-in-createLease into master

Merge request reports