Adapted documentation, cleaning up a bit.