add remove method (fixes #16)