Add missing 'versionadded' directives, minor cleanup