Generic type is erased