Converted Spring demo to use traits.