Added logging to assist in debugging the binding process