UC-142 Make sure the first message on a wall isn't treated differently
UC-142 Addressed some code review feedback.

* Additional type hinting
* Moving repetitive action out of a loop
* Removing unused setData method
Merge pull request #5724 from Wikia/UC-142

UC-142 Make sure the first message on a wall isn't treated differently