Remove unnecessary collection of names which isn't used