Documentation and more testing