Sample implementations of design patterns.