Add data dependency analysis (#144, #161).