Added replace method.
Added move method.