Add invalidate() method
Add and update comments
Merge pull request #21 from nudge/master

Add invalidate() method