Closed messages and password properties

Added a "}" to close the message property