Implement first few operations for in-memory storage