Removed getBaseUrl() from RequestHandler since it is not needed.