Remove duplicate code

I'm not sure if it was intentional or not.
Merge pull request #13 from ecogels/master

Remove duplicate code