unused method removed from Memory interface and impl; spelling in comment fixed