Document the creation of custom types

Create document supporting the request in #167