astobj2-ify the SLA code