If startdir/endinedir are still used, they should be MCStringRef's - this may have been done on another branch.