move stuff from synapse/doc