Fixed that the property definitions for meta-data are ordered from most top class as in the user classes. Fixes #2276.