Add additional type checking for bytes types.