# Functions
NewHTTPHandlerStack returns wrapped http-related handlers.
RegisterApisFromWhitelist checks the given modules' availability, generates a whitelist based on the allowed modules, and then registers all of the APIs exposed by the services.