Remove unneeded generic