Add PML parse blocks code