A versionadded directive is missing in both snippets.