Add types and examplecode.