Revert "Adding beforeSend directly onto the method, as you can't do it in a listener."

This reverts commit bb90bc013d2ab5d91c6f07f276ffb8345242e7d1.