silence isinstance warning
improve shadowing of builtin types
improve container shadowing