Added implementation for `paste` as well.