Added getting the message length. 
Putting is still outstanding so build broken.