Added return code for send method; changed to/added references to callback_raw
where needed.