Updated documentation with custom types.