Custom type support