Added memory class.