Fix bug with displaying strings in conditions.
Add Optimizer documentation comments.