Documentation & API fixes. Closes #22