Added message capture function to the protocol design.