Yes, I was thinking about this performance wise. Would it be faster to have it in a `Map` based on class like `fromBinary`?