Introduces memory references. Still code to be moved to the new system.