Change the build method ClientMessage to be static