Add interface and fix signature for moduleStarted callback