Implement add plugin method