Adapted to chages in arstudio API