Implement 'remove' command