Tiny fixes

Removed double requires and unused variables.
Merge pull request #197 from Nepoxx/patch-4

Tiny fixes