See Chapter 5 in Omar's PhD thesis here:
link