Change func in docs and win war with warnings