Fix #117: compatible Eq and Ord instances for Method.

Solves #117.