Add remove function.
Merge pull request #80 from PencilCode/removemethod

Add remove function.