You can't do this on iOS. That's why we have to keep this as non-generic