some mg-bind improvements.