Added titular references
Changed reference code to allow inline refs