Add optimization for compiling and default returned value for SDSBackStack.