Ported memory plugin to new autoload system.