Add plugin function.
Merge pull request #3 from Matsue/feature/plugin

Add plugin function.