Add callback to options for programmatic use