Extract MemoryView to interface
Infer types