Factors out Cake vendor code.