JavaDoc out of date? Talks about looking up, yet the method is called `remove`