Reuse patterns.
plugin function might not be available, use autoload function.