One separate thing is wfMessage vs. $this->wf->Message, which is being worked on by Perf Team.

The other one is that you should call ->text(),  ->parse(), or any other chosen method to convert a message to string,
which could be fixed here.