Experimenting with scala traits.