<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def auto_subscribe(self, app_manager):
 """Called to subscribe the handlers on init."""

        for handler in app_manager.handler_classes:
            app_manager.subscribe(handler.channel(), self)