[PATCH] Synchronize func signatures between code and docs