Add chunk parsing.