Doctest for testing purposes.