For sanity, and optimization.