Issue #52, add documentation