Fixing order of class appearance.