Made messages pass by reference rather than by value