If these fields are mandatory (injection is not optional), it is preferred to add them to the constructor.