Added as_plaintext flag into Encode for API compatibility
Revert "Added as_plaintext flag into Encode for API compatibility"

This reverts commit 267ac34af7a7beaa355a8a3be993bf16fd43ee5d.
Added as_plaintext flag to Encode

This is what I was trying to do in 267ac34 and 7b79b70
Merge pull request #27 from shannonturner/development

Added as_plaintext flag to Encode