Updated docs, restore and formatting