Add a `checkNotNull` to mandatory fields. Injection will already fail, but having the check will help when directly calling the constructor (for exampe in the tests).