If :to is not provided, use key as default value