Fix programmatic usage example.