I'm a huge fan of `this.function = checkNotNull(function, "function")`