The general loop through all raw records should be based on the iterator interface of the RawKeyword, but to resolve INCLUDE statements we have implemented a special case method to get the first record.