Implemented more Encodings.
Implemented Encode for objects.