Update function signatures in the documentation