Flexible target specification