Allow bind() against Java methods.