Added docs and stuff