Added optimize docs