Added AMD support

Just added an export statement to support module export.