Support import and compile