How do I do a custom type?

Please check out our example here: