Upgrade to Base.extend
Merge pull request #20 from revathskumar/use-extend

Upgrade to Base.extend