Works with all types.