Documentation and small changes