Adds pending messages.
Implements proper use of controllers.