Move the position of moduleLoadedCb so that it can be the same order as that in the header file.