base: use correct syntax in documentation more consistently