removed code in API that was moved to API::Request