Add observable attributes to an object