inject actions as part of the options argument passed to the constructor