Added notes on performance optimizations.