Quick documentation and optimization.