Removed session for API.