Add more detailed documentation.