Remove unneeded generic param.