Added optimize and commit requests.