Return definition in match.

Closes #24.