Adding docs stolen from sister project, to be edited.