Converted to new alasc framework.