Remove MEM_METHODS. Allow compilation without dynamic indexing.