Removed unnecessary generic constraints.