docs: added allow-none annotation