Prototype partial implementation for ARML.