More work on fragment parser.