Text this: Structure in medieval narrative.