Use correct ifaces for NAME constants
Organize imports
Fix some warnings
ImgImgFactory: remove spurious parameter
StdDevRealType: remove no-longer-needed cast