Put internal args/result marshalling code into a helper class, with the following format:
           object SimpleService {
             object deliver$args extends ThriftStructCodec[deliver$args] {..}
             trait deliver$args extends ThriftStruct { ... }
             object deliver$result extends ThriftStructCodec[deliver$result] { ... }
             trait deliver$result extends ThriftStruct { ... }
           }
    And for Java:
          public class SimpleService {
             static class deliver$args implements ThriftStruct {..}
             static class deliver$result implements ThriftStruct {..}
          }

RB_ID=126141