def add_routes(self, routes):
<EOL>self._routes.update(routes)<EOL>return self<EOL>
Adds the detailed mapping of urls to tasks.

        :param routes: Mapping which defines how urls of the namespace are
                       mapped to tasks. Each url (string) is mapped to a
                       callable which creates the task instance.

        :return: self