Credit for table parsing code. [skip ci]