Fix for pattern methods