Rename pattern matching methods