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