introspection: add missing allow-none annotations