Simplify API of Pattern method