Add amd property to define

Add static amd property to define function.