Adjust specs for bytes and strings defaulting to nil