@classmethod
def defaults(cls, config):
    """
        Extra default config for message views.
        """
    config.add_route('messages.reply', '/messages/{uuid}/reply')
    config.add_view(cls, attr='reply', route_name='messages.reply',
        permission='messages.create')
    config.add_route('messages.reply_all', '/messages/{uuid}/reply-all')
    config.add_view(cls, attr='reply_all', route_name='messages.reply_all',
        permission='messages.create')
    config.add_route('messages.move', '/messages/{uuid}/move')
    config.add_view(cls, attr='move', route_name='messages.move')
    config.add_route('messages.move_bulk', '/messages/move-bulk')
    config.add_view(cls, attr='move_bulk', route_name='messages.move_bulk')
    cls._defaults(config)
