Add permissive type generator function.