Optimizes code by removing unnecessary method calls and postponing object initializations