Fix BZ1147587: Allow module references for resource adapters