Rename generic parameter from A to T