Export getModuleExtensions

Hi, I need just another little helpful function that I do not want to copy paste.