I don't think so. I try do be framework agnostic. So it should be move to an event subscriber.Isn't it (sorry copy / paste)