Fixes #2881 registering subtype classes in installer