Updated docs, fixed errors and stuff