Fixing up the binding, added sample.