Adding backend support for more RAM optimizations.