Added some stubs for pytest.