Add documentation about optional typing.