Make encoding/decoding more explicit.