Fixing up instance size on class registration.