exposing sendMessage and phantom to templates
0.3.1rc7