Removed getPredecessorCount method from header file.