Remove old code in module init function