Added documentation for custom types.