Fixed init method overwriting properties
Merge pull request #28 from bperin/master

Found the overwriting error, fixes #27