Added code to generate a (partial) call to calibir.