eesh. Would be nice not to monkeypatch