Remove unused variables

Fixes #142