Add support for paste.