Added a parameter to indicate phase of annotation (i.e. p2 = extent, p4 = links)