allow function bindings to bind to null, undefined

this stops things from breaking when a function binds to `null` or `undefined`