Add Miniregs support