Moved utility binding code up

Also reformatted it to be more like the other code blocks.