Add getParts() method for branch 1.0