fix warning: unused functions
fix warning: unused binding
fix warnings: missing type signature
fix warning: explicitly discard return value
fix warning: rename shadowed binding
Merge branch 'cleanup'