Using a events dispatcher module instead