Some preparations for module config