Added documentation... or at least the start of it.