PHOENIX-1369 Add back encode/decode methods as deprecated
PHOENIX-1369 Add back encode/decode methods as deprecated