Fixed some binding problems.