Removed dead code. Fixes #188