Workaround for #6

Also removing can_apply_typed_arrays stuff since the workaround makes it unused