Removed default progress encoding and added message type encoding.