Document declaring custom types.