plugin api change, fixes #17