Add custom type support.