Added support for specifying targets to process.