ENH: remove unused variables