REFACTOR: Remove "http" argument from some APIs.