Binding to all types of functions/functors/methods now works as intended.