Let's inject module handler via DIC. Also, would it make sense to emmit an event here? We could then implement hooks in event subscriber if needed.