Adds getComponentIterator() method to Entity