Remove namespace handling from newinstance()