Extend NSData instead of struct.