Mostly added documentation