grextras: move imports into class