Export SetLength method of Message