Add mini-dsl for converting callbcaks