Fix IMPORT_AS macro to support set/get static parameter option.