Removes order dependencies from spec