Add binding for irmemory.