ok, I was able to relax the contrains and solved the issue now by introducing a helper class to bind the value to the function. I can drop the helper classes when my code can move over to D2.0 and make use of full closure support.