added support for using msg ctx properties.