Extending Messages Object On initializing

Extending Messages Object On initializing