Pattern method fixes.