Did you check to see if there isn't an OutputPage method that takes a message key and calls wfMessage internally? Would be a bit easier to read.