Fix for #1050: set final bit on classes from the model loader