build

Build method.

This method constructs and returns a Messages object using the container.

Return

The constructed Messages object.