Adding notes on traits, objects and classes