Remove package from symbols in specializers if specified.