Wrote protocol buffer for STS.