Fix typo in custom types example