Using exports for AMD