Array#remove() code compression, example in documentation, and unit tests.