removed unneeded typeclass in PortalMemory