Re-factored preSend and postSend methods.