Make encode and decode available outside the EE interface.