Made sure readAttributes starts at the first attribute.