Added early module init functionality