Added optimization docs.