Define function properly.
Merge pull request #4 from gauthierm/make-plugman-compatible

Define function properly.