Support definition-finding from file fragments

Closes #21