Add constructor and class extension examples.