Remove unused print
Support callback using Ruby block