Fixed the parameters for remove()

No-one would ever want to remove anything of course, but I suspect it wouldn't have worked.