Memory interface fixes.