Initial attempt to port AutoSOME.