Code example for design pattern.