Add metadata and parameter to change the ensure option.