Method comparison also considers Enums now.