Added accessors for memory