Refactored MTProtoBuilder.