Adapted to the change in studio3-core.