Fixed some issues with modules not being visible.