Documenting unespected library behaviour