Return values directly instead of promises where possible.