Unregister subtype class on deactivation
Fixes #21