Simple references should require target document

Related to #926.