Add specs for Maglev#root, #[] and #[]=