Fixes for priority/bindTo errors.

@jacobawenger fixes for priority/bindTo errors.