Use correct code signatures in api.