Fix typos dublicate -> duplicate
Add backward compatibility for the API name changes
Merge pull request #34 from scrawl/typo

Fix typos dublicate -> duplicate