Moved _pending() and _send() to appropriate classes.