Allowing this.bindings to be a function