Convert some scope functions