Fix documentation
Hacks source with mock code so readthedocs.org will work