Issue #2249723 by andrei.dincu: Remove unused use statements and add some documentation