Large changes to Transform API. Removed redundant method from Inverted Index