Removed some duplicate code.
Merge pull request #36 from dreisch/dedupe_init

Removed some duplicate code.