Improved yaml trait loading -- first trait in file now documented, most trait attributes have default values if undefined