dynamic: don't register a class with a None pivot
If the pivot is defined, it should be a string. If there is no pivot, then it shouldn't be part of the class variables at all. Let register_dynamic() stop registering classes with pivot=None.
If the pivot is defined, it should be a string. If there is no pivot, then it shouldn't be part of the class variables at all. Let register_dynamic() stop registering classes with pivot=None.