Code samples have been added.
Extrude nested class to simplify templates.