Add get_containers function.