Plaintext insertion improvements