Add support for linking directly to a pattern