Fix function signatures in README