Ugly hack in Binding in order to call the allocation function af properly