Add support to set the target as default during creation.