Added namespace support for amd style modules