Fleshed out the docs considerably