Fix examples after smart_array update