Compute various closures