fix for FB-254

Just one class registration is sufficient.
Merge pull request #128 from dougma/FB-254

fix for FB-254