Fixed SBPlugin model

Fixes #27