Implements the remove operation.

Methods