Removed code fragments from Paste support