Added documentation, see #259