Removed collection IDs. Added abstract function to idex documents.