Made most of power model memory type agnostic.