Added custom plugin support.