Handler: configure dependencies in the constructor