Another possibility is to use the attributes decorator in the prototree