Attempted to reduce unwanted implicit encode/decode calls