Add optimize command callbacks.
Bump patch version.