Register registered functions to their corresponding modules