Refactoring in preparation for future flexibility in creating tweets.