Remove unnecessary namespace requires in sample in-memory