Some memory functions removed